package com.lgy.httpmocktool.dao.bean;

import com.lgy.httpmocktool.dao.bean.pk.GroovyRespJsonPK;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.*;
import java.io.Serializable;
@Data
@NoArgsConstructor
@Accessors(chain = true)
@Entity
@IdClass(GroovyRespJsonPK.class)
@Table(name = "groovy_resp_json")
public class GroovyRespJson implements Serializable {
    @Id
    @Column(length = 20)
    private String respKey;
    @Id
    @Column(length = 256)
    private String respGroup;
    @Column(length = 1024)
    private String respValue;
}
